package com.yida.wy.basic.domain.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.wy.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 基础数据（小区信息）对象
 *
 * @author lqq
 * @date 2023-11-21
 */
@Data
@ApiModel(value = "导入楼盘-小区列表Request")
public class WyImpCommunityListRequest extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小区ID")
    private Long communityId;

    @NotNull(message = "请求参数有误[areaId]为空")
    @ApiModelProperty(value = "区县 2=鲤城区,3=丰泽区,4=洛江区,5=泉港区,6=石狮市,7=晋江市,8=南安市,9=惠安县,10=安溪县,11=永春县,12=德化县,13=金门县")
    private Long areaId;

    @ApiModelProperty(value = "街道(镇/乡)）14=海滨街道,15=临江街道,16=鲤中街道,17=开元街道,18=浮桥街道,19=江南街道,20=金龙街道,21=常泰街道,22=东湖街道,23=丰泽街道,24=泉秀街道,25=清源街道,26=华大街道,27=城东街道,28=东海街道,29=北峰街道,30=万安街道,31=双阳街道,32=罗溪镇,33=马甲镇,34=河市镇,35=虹山乡,36=山腰街道,37=南埔镇,38=界山镇,39=后龙镇,40=峰尾镇,41=前黄镇,42=涂岭镇,43=湖滨街道,44=凤里街道,45=灵秀镇,46=宝盖镇,47=蚶江镇,48=祥芝镇,49=鸿山镇,50=锦尚镇,51=永宁镇,52=湖滨街道,53=凤里街道,54=灵秀镇,55=宝盖镇,56=蚶江镇,57=祥芝镇,58=鸿山镇,59=锦尚镇,60=永宁镇,61=溪美街道,62=柳城街道,63=美林街道,64=省新镇,65=仑苍镇,66=东田镇,67=英都镇,68=翔云镇,69=金淘镇,70=诗山镇,71=蓬华镇,72=码头镇,73=九都镇,74=乐峰镇,75=罗东镇,76=梅山镇,77=洪濑镇,78=洪梅镇,79=康美镇,80=丰州镇,81=霞美镇,82=官桥镇,83=水头镇,84=石井镇,85=眉山乡,86=向阳乡,87=螺城镇,88=螺阳镇,89=黄塘镇,90=紫山镇,91=洛阳镇,92=东园镇,93=张坂镇,94=崇武镇,95=山霞镇,96=涂寨镇,97=东岭镇,98=东桥镇,99=净峰镇,100=小岞镇,101=辋川镇,102=凤城镇,103=蓬莱镇,104=湖头镇,105=官桥镇,106=剑斗镇,107=城厢镇,108=金谷镇,109=龙门镇,110=虎邱镇,111=芦田镇,112=感德镇,113=魁斗镇,114=西坪镇,115=参内镇,116=长卿镇,117=白濑乡,118=湖上乡,119=尚卿乡,120=大坪乡,121=龙涓乡,122=蓝田乡,123=祥华乡,124=桃舟乡,125=福田乡,126=桃城镇,127=五里街镇,128=一都镇,129=下洋镇,130=蓬壶镇,131=达埔镇,132=吾峰镇,133=石鼓镇,134=岵山镇,135=东平镇,136=湖洋镇,137=坑仔口镇,138=玉斗镇,139=锦斗镇,140=东关镇,141=桂洋镇,142=苏坑镇,143=仙夹镇,144=横口乡,145=呈祥乡,146=介福乡,147=外山乡,148=浔中镇,149=龙浔镇,150=三班镇,151=龙门滩镇,152=雷峰镇,153=南埕镇,154=水口镇,155=赤水镇,156=上涌镇,157=葛坑镇,158=盖德镇,159=美湖镇,160=杨梅乡,161=汤头乡,162=桂阳乡,163=国宝乡,164=大铭乡,165=春美乡")
    private Long streetId;

    @ApiModelProperty(value = "开发企业id")
    private Long companyId;

    @ApiModelProperty(value = "所属业委id")
    private Long committeeId;

    @ApiModelProperty(value = "所属物业id")
    private Long estateId;

    @ApiModelProperty(value = "小区名称")
    private String communityName;

    @ApiModelProperty(value = "开发企业")
    private String companyName;

    @ApiModelProperty(value = "坐落")
    private String communityLocation;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "交付日期")
    private Date deliverDate;

    @ApiModelProperty(value = "产权年限")
    private Integer propertyDate;

    @ApiModelProperty(value = "管理类型（0=无人管理,1=物业管理,2=业委会自治,3=社区街道代管,4=其他管理模式）")
    private String manageType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "接管日期")
    private Date takeDate;
}
